Video embedding tutorial.

Hello, this is a very simple tutorial on how to embed a video in an html(5) file.

  1. First, you have to establish your HTML5 video player with the video tag. Add width and height if needed (You can ad only one of these properties and your video will adjust to it).
    demonstration
  2. Then, set your video file's location (the file's name) and media type inside of the source tag.
    demonstration
  3. Now you can add preload values or boolean attributes.
    Preload values: Boolean attributes:
    demonstration
  4. Now, you can finally close your video tag!
  5. demonstration

Home